<?php

namespace common\models\memuser;

use Yii;
use yii\behaviors\TimestampBehavior;
/**
 * This is the model class for table "memuser".
 *
 * @property integer $id
 * @property integer $uid
 * @property integer $mid
 * @property integer $created_at
 * @property integer $updated_at
 */
class Memuser extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'memuser';
    }
    public function behaviors()
    {
        return [
            [
                'class' => TimestampBehavior::className(),
            ],
        ];
    }
    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['uid', 'mid'], 'integer'],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id' => Yii::t('app', 'ID'),
            'uid' => Yii::t('app', 'Uid'),
            'mid' => Yii::t('app', 'Mid'),
            'created_at' => Yii::t('app', 'Created At'),
            'updated_at' => Yii::t('app', 'Updated At'),
        ];
    }
}
